/**
 * 
 */
package com.roc.service;

import java.util.List;

import com.roc.exception.UserException;
import com.roc.pojo.LoginIpJnls;
import com.roc.pojo.Operators;
import com.roc.pojo.TblMchtInf;
import com.roc.pojo.User;
import com.roc.util.PageUtil;

/**
 * @author RenPengFei
 * 
 *         2011-11-21
 */
public interface IUserService {

	User userLogin(String userId, String password) throws UserException;

	void updateUser(User user) throws UserException;

	void deleteUser(User user) throws UserException;

	void addUser(User user) throws UserException;
	
	/**
	 * 添加商户至t_operator表，并添加相应菜单（未使用）************************************************/
	boolean addOperForMerinfo(TblMchtInf  merinfo,Operators currentOper)throws ServiceException;
	
	/**
	 * 添加商户信息成功后发送短信
	 * @param merinfoNo 商户号
	 * @param phone 电话号码
	 * */
	void addMessageSend(String merinfoNo,String phone)throws ServiceException;
	
	/**
	 * 根据32域查询商户的UN地区
	 * @param param  32域码
	 * */
	String queryAreaDetailBy32Code(String param)throws ServiceException;
	
	/**
	 * 查询账号cj 的批量审核状态是否是开启状态
	 * */
	boolean isCheckMerinfo()throws ServiceException;
	
	/**
	 * 更新账号cj 的批量审核状态
	 * */
	String  editOperStatus()throws ServiceException;
	
	 
	void insertLoginInfo(LoginIpJnls loginInfo) throws ServiceException;
}
